package com.lar.ultimte.entity.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author angelar
 * @date 2019-07-05 14:36
 */
//hello 1.0
@RestController("uselessController")
@RequestMapping(value = "/user")
public class UserController {
    @RequestMapping(value = "/home")
    public String home(){
        return "Hello user!";
    }
    @RequestMapping(value = "/bye")
    public String bye(){
        return "bye user!";
    }
}
